<?php

namespace app\admin\controller;

use app\admin\controller\AdminController;
use think\Request;
use app\admin\model\Admin;
use think\Session;
use think\Db;
// use think\Controller;

class Index extends AdminController
{

    public function _initialize()
    {
        parent::_initialize();
        $adModel = new Admin;
        $this->adModel = $adModel;
    }


    public function index()
    {
        return view('user/index',['name'=>session::get('admin_user')]);
        
    }
}